package com.calciominoBeta.httpClient;

import com.bzydroid.network.http.HttpCachePolicy;
import com.bzydroid.network.http.IRequestHandler;
import com.bzydroid.network.http.client.BzydroidHttpClient;
import com.bzydroid.network.http.response.HttpJSONObjectResponse;

public class RequestService {
	
	public static void requestHome (IRequestHandler requestHandler){
		 String urlhome = "http://calciomio.fr/json-exports/home";
		BzydroidHttpClient client = new BzydroidHttpClient(
				urlhome, requestHandler);
		
		client.setCachePolicy(HttpCachePolicy.NOCACHE);
		client.setResponse(new HttpJSONObjectResponse());
		client.sendRequest();
	}

}
